<script>
  require('electron').ipcRenderer.on('notification', (ev, { title, body }) => {
    new Notification(title, { body });
  });
</script>
